/**
 * 
 */
package com.alstudio.module.xmpp.request.proccesser.voip;

import com.alstudio.module.xmpp.protocol.xmpp.util.xmlcreator.iq.voip.CheckVoipRecordIQCreator;
import com.alstudio.module.xmpp.request.ALUiXmppRequestData;
import com.alstudio.module.xmpp.request.ALUiXmppRequestInvokeCallback;

/**
 * 请求通话记录
 * 
 * @author alonso lee
 * 
 */
public class CheckVoipRecordRequestProccesser implements
		ALUiXmppRequestInvokeCallback {

	@Override
	public Object getXmlData(Object data, String domain) {
		// TODO Auto-generated method stub
		ALUiXmppRequestData tmp = (ALUiXmppRequestData) data;
		CheckVoipRecordIQCreator iq = new CheckVoipRecordIQCreator(
				tmp.getStartIndex(), tmp.getEndIndex(), tmp.getIntData(),
				domain);
		return iq;
	}

}
